package com.charley.icloud.common.exception;

import com.charley.icloud.common.exception.BaseException;

/**
 * service 业务层异常处理
 * @author charley
 * @date 2024-04-17 18:48
 * */
public class ServiceException extends BaseException {

    private static final long serialVersionUID = -2437160791033393978L;

    public ServiceException(String msg) {
        super(msg);
    }

    public ServiceException(Exception e){
        this(e.getMessage());
    }
}
